//
//  PSYStrategyTypeModel.h
//  PeiZiWangBei
//
//  Created by 巨彦新 on 2017/12/1.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YDStrategyTypeModel : YDModel

/*
{
    "id": 1,
    "name": "T+1",
    "state": true,
    "amountValues": [
                     {
                         "id": 6,
                         "value": 100000
                     },
                     {
                         "id": 7,
                         "value": 200000
                     },
                     {
                         "id": 8,
                         "value": 300000
                     },
                     {
                         "id": 4,
                         "value": 40000
                     },
                     {
                         "id": 3,
                         "value": 30000
                     },
                     {
                         "id": 5,
                         "value": 50000
                     },
                     {
                         "id": 2,
                         "value": 20000
                     },
                     {
                         "id": 1,
                         "value": 10000
                     }
                     ],
    "losses": [
               {
                   "id": 2,
                   "point": 0.14
               },
               {
                   "id": 1,
                   "point": 0.175
               },
               {
                   "id": 3,
                   "point": 0.1
               }
               ],
    "profit": 0.5,
    "deferred": 18,
    "cycle": 1
},
 
 */

@property (nonatomic, copy) NSString *name;
@property (nonatomic , assign) int Id;
@property (nonatomic, assign)BOOL state;
@property (nonatomic, copy) NSString *profit; //止盈点
@property (nonatomic, copy) NSString *deferred;  //递延费/天数
@property (nonatomic, copy) NSString *cycle;   //周期 1是1天 5是5天
@property (strong, nonatomic) NSMutableArray *amountValues;
@property (strong, nonatomic) NSMutableArray *losses;   //止损的数组
@property (nonatomic, copy)NSString *serviceFeePerWan; //每万元服务费
@property (nonatomic, copy)NSString *wearingPoint; //穿仓比例



@property (nonatomic, copy)NSString *currentApplyMoeny; //当前申请的资金
@property (nonatomic, copy)NSString *currentsecurityMoeny;  //当前的履约金
@property (nonatomic , copy)NSString *currentServiceFee;//当前服务费
@property (nonatomic, copy)NSString *currentdeferredFee; //当前递延费


@property (nonatomic, copy)NSArray *fundMoneyArr;  //申请资金数组
@property (nonatomic, copy)NSArray *gangGanArr;    //杠杆倍数数组
@property (nonatomic, copy)NSArray *carrayDayArr;  //持仓天数数组



@end
